//
// Int8.cpp for  in /home/lund/Projets/abstract-vm/vmtmp
// 
// Made by florian dewulf
// Login   <dewulf_f@epitech.net>
// 
// Started on  Mon Feb 18 11:02:55 2013 florian dewulf
// Last update Tue Feb 19 21:37:29 2013 kevin lansel
//

#include	"Int8.hpp"

Int8::Int8(const char &value, const std::string &str) : AOperand(value, str), _value(value)
{
}

Int8::Int8(const Int8 &other) : _value(other.getValue())
{
}

Int8::~Int8()
{
}

Int8		&Int8::operator=(const Int8 &other)
{
  this->_value = other.getValue();
  return (*this);
}

char		Int8::getSize() const
{
  return (this->_value);
}

void		Int8::setSize(const char &size)
{
  this->_value = size;
}

eOperandType	Int8::getType() const
{
  return (INT8);
}
